Universal portfolio algorithm